package com.example.shorg.form;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

@Data
public class OrderForm {

    //买家姓名
    @NotEmpty(message = "姓名必填")
    private String name;

    /**买家手机*/
    @NotEmpty(message = "手机号码必填")
    private String phone;

    /**地址必填*/
    @NotEmpty(message = "地址不能为空")
    private String address;

    /**买家微信openid*/
    @NotEmpty(message = "openid必填")
    private String openid;

    /**购物车*/
    @NotEmpty(message = "购物车不能为空")
    private String items;
}
